package com.axjy.mapper;

import com.axjy.pojo.User;
import com.axjy.vo.UserDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

   Page<User> findAll(@Param("page") Page<User> page, @Param("userDto") UserDto userDto);

   void updateAttach(@Param("id") Integer id, @Param("attachPath") String attachPath, @Param("attachDescr") String attachDescr);
}